#include "mlog4c.h"


int mlog4c_log_info(const char* log_msg)
{
	return 0;
}

int mlog4c_log_warn(const char* log_msg)
{
	return 0;
}

int mlog4c_log_err(const char* log_msg)
{
	return 0;
}


void* mlog4c_init(void* log_config_file_path)
{
	char* log_config = (char *)log_config_file_path;
	printf("log_config:%s\n", log_config);
	while (1)
	{
		;
	}
}

int mlog4c_thread_init(const char* log_config_file_path)
{
	pthread_t mpt;
	int ret = pthread_create(&mpt, NULL, mlog4c_init, (void *)log_config_file_path);
	if (ret < 0)
	{
		perror("log4c thread create error.");
		return -1;
	}
	return 0;
}
